let {usersModel} =require('./models/usersModel')


//z注册
module.exports.registerDao=async(data)=>{
    let res=await usersModel.create(data)
    return res
}


//账号查询
module.exports.searchUsersDao=async(data)=>{
    let res=await usersModel.find(data)
    return res
}

//登录